﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<UsersReportModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%:Resources.Common_SystemReport_Userinfo %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="maincontent" id="tabcontent">
        <h2>
            <%:Resources.Common_SystemReport_Userinfo %><div class="searchbox">
                <% using (Html.BeginForm("UsersReport", "report", FormMethod.Get))
                   {  %>
                <input name="key" type="text" class="searchbox" value="<%:Model.key %>" />
                <input type="hidden" name="startTime" value="<%: Model.startTime.ToString("yyyy/MM/dd") %>" />
                <input type="hidden" name="endTime" value="<%: Model.endTime.ToString("yyyy/MM/dd") %>" />
                <input type="submit" value="GO" name="" class="searchbutton" /></div>
            <%} %>
        </h2>
        <div id="datagrid">
            <%Html.RenderPartial("usergrid"); %>
        </div>
        <%-- <% using (Html.BeginForm("exportusersinfo", "report", FormMethod.Get, new { id="export"}))
           {  %>--%>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td width="46%" class="button">
                    <%--<input type="hidden" name="a" id="a" />
            <input type="hidden" name="b" id="b" />--%>
                    <div>
                        <%--  <span class="input"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%:Resources.Report_Export_Click %>--%>
                        <%-- <%:Html.ActionLink("点击导出用户信息", null, null, null, new { target = "_blank", onclick = "reports()" })%>--%>
                        <input type="hidden" class="button" value="<%:Resources.All_Export %>" /></span>
                    </div>
                </td>
                <td width="54%" align="right" class="pagination">
                    <%--,Model.IsChangeUrl,--%>
                    <%Html.ShowPagination(Model.Page, Model.maxpages, Model.key, Url.Content("~/Content/images/page_previou_icon.gif"), Url.Content("~/Content/images/page_next_icon.gif"), Model.orderby, Model.startTime, Model.endTime); %>
                    <div class="clear">
                    </div>
                </td>
            </tr>
        </table>
        <%--      <%} %>--%>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
    <link rel="stylesheet" type="text/css" href="<%:Url.Content("~/Content/css/themes/default/easyui.css")%>" />
    <link rel="stylesheet" type="text/css" href="<%:Url.Content("~/Content/css/themes/icon.css")%>" />
    <link href="<%:Url.Content("~/Content/css/icons.css")%>" rel="stylesheet" type="text/css" />
    <link href="<%:Url.Content("~/Content/css/usersreport.css")%>" rel="stylesheet" type="text/css" />
    <script src="<%:Url.Content("~/Content/js/jquery.easyui.js")%>"></script>
    <script src="<%:Url.Content("~/Content/js/jquery.mask.js")%>"></script>
    <script src="<%:Url.Content("~/Content/js/jquery.alcatel.datagrid.js")%>"></script>
    <link href="<%:Url.Content("~/Content/datepicker/themes/base/ui.all.css")%>" rel="stylesheet"
        type="text/css" />
    <script src="<%:Url.Content("~/Content/datepicker/ui/ui.core.js")%>" type="text/javascript"></script>
    <script src="<%:Url.Content("~/Content/datepicker/ui/ui.datepicker.js")%>" type="text/javascript"></script>
    <link href="<%:Url.Content("~/Content/datepicker/demos.css")%>" rel="stylesheet"
        type="text/css" />
    <script type="text/javascript">
        //{{{当前页面
        $(document).ready(function () {
            var $this = $("#report a:first")
            var $ul = $this.next()
            if ($ul.is(":hidden")) {
                $ul.show()
                $this.parent().addClass("current")
                $this.next().children(":eq(3)").addClass("current")
            } else {
                $ul.hide()
                $this.parent().removeClass("current")
            }
        })
        //}}}
    </script>
</asp:Content>
